package com.easthome.mapper;

import com.easthome.pojo.Member;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MemberMapper {
    /**
     * 根据手机号查询会员
     * @param telephone
     * @return
     */
    Member queryMemberByTelephone(String telephone);

    /**
     * 添加会员
     * @param member
     */
    void addMember(Member member);
}
